package cn.com.zero.manager.auth.po;

import cn.com.zero.base.po.BasePO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author baill
 * @version 1.0.0
 * @Description CustomerPO对象
 * @createTime 2020/01/13 17:12
 */
@ApiModel(value="ff_customer", description="用户基础信息表")
public class CustomerPo extends BasePO {

    /** 用户ID*/
    @ApiModelProperty(value = "用户编号")
    private Long userId;

    /** 昵称*/
    @ApiModelProperty(value = "昵称")
    private String nickname;

    /** 真实姓名 */
    @ApiModelProperty(value = "姓名")
    private String realName;

    /** 真实姓名 */
    @ApiModelProperty(value = "姓名")
    private String showRealName;

    /** 头像*/
    @ApiModelProperty(value = "头像")
    private String avatar;

    /** 手机号码(密文)*/
    @ApiModelProperty(value = "手机号码(密文)")
    private String mobilePhone;

    /** 手机号码*/
    @ApiModelProperty(value = "手机号")
    private String showMobilePhone;

    /** 安全密码*/
    @ApiModelProperty(value = "安全密码")
    private String fundPassword;

    /** 账号是否锁定*/
    @ApiModelProperty(value = "登录状态 loginStatus")
    private Boolean accountNonLocked;

    /** 是否实名认证*/
    @ApiModelProperty(value = "是否已实名 authStatus")
    private Boolean authenticationed;

    /** 是否可用状态*/
    @ApiModelProperty(value = "禁用状态 enabledStatus")
    private Boolean enabled;

    /** 信任码*/
    @ApiModelProperty(value = "信任码")
    private String trustkey;

    /** 最后登录IP*/
    @ApiModelProperty(value = "上次登录IP")
    private String lastLoginIp;

    /** 最后登录时间*/
    @ApiModelProperty(value = "上次登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;

    /** 最后一次登录终端ID*/
    @ApiModelProperty(value = "最后一次登录终端ID")
    private Integer lastLoginTerminal;

    /** 备注信息*/
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 锁定时间*/
    @ApiModelProperty(value = "锁定时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lockedTime;

    /** 创建时间*/
    @ApiModelProperty(value = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间*/
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    /** 用户是否在线 */
    @ApiModelProperty(value = "客户是否在线(true 在线、false 不在线)")
    private Boolean onLine;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getShowRealName() {
        return showRealName;
    }

    public void setShowRealName(String showRealName) {
        this.showRealName = showRealName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getShowMobilePhone() {
        return showMobilePhone;
    }

    public void setShowMobilePhone(String showMobilePhone) {
        this.showMobilePhone = showMobilePhone;
    }

    public String getFundPassword() {
        return fundPassword;
    }

    public void setFundPassword(String fundPassword) {
        this.fundPassword = fundPassword;
    }

    public Boolean getAccountNonLocked() {
        return accountNonLocked;
    }

    public void setAccountNonLocked(Boolean accountNonLocked) {
        this.accountNonLocked = accountNonLocked;
    }

    public Boolean getAuthenticationed() {
        return authenticationed;
    }

    public void setAuthenticationed(Boolean authenticationed) {
        this.authenticationed = authenticationed;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getTrustkey() {
        return trustkey;
    }

    public void setTrustkey(String trustkey) {
        this.trustkey = trustkey;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getLastLoginTerminal() {
        return lastLoginTerminal;
    }

    public void setLastLoginTerminal(Integer lastLoginTerminal) {
        this.lastLoginTerminal = lastLoginTerminal;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getLockedTime() {
        return lockedTime;
    }

    public void setLockedTime(Date lockedTime) {
        this.lockedTime = lockedTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Boolean getOnLine() {
        return onLine;
    }

    public void setOnLine(Boolean onLine) {
        this.onLine = onLine;
    }
}